Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cm 9.1.0 #2

Open
wants to merge 2,343 commits into
base: eclair
Choose a base branch
from
Open

Cm 9.1.0 #2

wants to merge 2,343 commits into from

Conversation

anticop
Copy link

@anticop anticop commented Jan 10, 2023

pixelflinger and others added 30 commits September 28, 2011 12:17
Change-Id: I02baa1f7d3383e93a43fa04de1d39f7398e971bc
- Provide a function to add and delete IPv4/IPv6 addresses
  using netlink.
- Provide a function that clears all IP addresses on an
  interface that can be used by netd.

Also, a couple of cleanups:

- Update the header file to match reality, and include the
  header file in the implementation. Also fix a caller that
  has an incorrect method signature.
- Fix whitespace in Android.mk.

Change-Id: Ifba9d60cdfffb0b7e5c3b9c6ab328f5f77d259c4
The problem was: if a socket is shared between SocketListener and another
thread, only if the last reference is removed by SocketListener can the socket
be closed, otherwise the socket will leak. This sometimes happens in netd's
dnsproxyd.

This change let the SocketClient own the socket and close the socket when
the SocketClient is destructed.

Change-Id: I2865fbfe9ee4d8b3e43d7e02919dbb2d261f70de
Change-Id: I3b76bb5071d8a44adfb221774bb304bf296c8c1b
Signed-off-by: Dima Zavin <[email protected]>
* commit '823ebc4d824ea70e5ec7d376adf2fbce50eb9cb2':
  charger: dump the last_kmsg when going into charger mode
…ged"

* commit '7353155717ec56e119a125cd6492c19df755b6ea':
  Revert "charger: show animation when the device is unplugged"
Add log group to ril-daemon service. rild is the best place to
know the issue on the modem in many time. It would be helpful
if rild alone can capture the snapshot of logcat buffers at
the moment of problem.

Change-Id: Ie0dcda126fb748a00e650427de35541672359287
Change-Id: I27b2495fb96852e960f647f032a5fcd446ec742b
Signed-off-by: Dmitry Shmidt <[email protected]>
Bug 4598045

Change-Id: I5550203927146fd6864408b3ac2f5e6f5d2b1d77
The log tag may be zero length if corrupted, so check for this
condition.

Change-Id: I7616226dabe78a85859b0ab53aca08f734dbdd84
Documentation-only change that supports the new framework-side
feature to omit system packages when you're using adb backup -all.
Bug 5361503.

Change-Id: I86bca8883a7fb8c713ca352ad5980e92fd640d18
…m rpc calls

Bug 4598045 Implementing secure video path on TI OMAP4 chip for ICS

Change-Id: Iacfe3e79f067172085b96bb4cd4484101aa5be1e
bug:5422679
Change-Id: Ia4a09328bd9e1d36af680be4d065bc08cf0dec0f
Ravi Kumar Alamanda and others added 30 commits May 27, 2012 11:24
Change-Id: I4569425b6a10987df225c6d66d2addd07327f881

Conflicts:

	include/system/audio.h
 * Clean this mess up so that it actually works, even for lpm.rc only.
 * Add option from arcee to override the custom charging mode parameter.

Change-Id: I025e61714f42bb1409aac1a68d01b12d9fed1237
 * Certain devices may have multiple battery devices or broken uevent
   reporting when a power supply is disconnected.
 * Add a new BOARD_BATTERY_DEVICE_NAME to force which device to monitor.

Change-Id: I3045bf17a4d962cc5f0e6a951472916412ac0d0d
Example: BOARD_CHARGER_RES := device/samsung/galaxys2/res/charger

Change-Id: I4cf359974475c06d219cb92c38efa2b8223ae367
Samsung devices with BOARD_CHARGING_MODE_BOOTING_LPM get their config
out of lpm.rc. Everybody else still needs the hardware-specific init.rc
files to read charger mode config out of.

Change-Id: Ibbe0446d2b18b018258b7b2951a88014709006ac
The filesystem exclusion logic before the Samsung lpm stuff was
merged was completely broken and always returned true. (i.e.,
fs hooks always ran)

--------
if (strcmp(bootmode, "charger") != 0 || strcmp(battchg_pause, "true") != 0)
--------
These 2 conditions are never false simultaneously (they're alternative
charger mode flags), so the filesystem mount hooks always happened.

The LPM support patch fixed that logic, but broke other devices in
the process, since some implementations use stuff from /system (or even
link with bionic) for charger mode.

This patch makes the exclusion logic apply _only_ to Samsung LPM
devices or those supported by the original AOSP code
(androidboot.mode=charger), and lets every other device run the
fs hooks

Change-Id: I26006fe65761ad86fa6f4cfa5681d9b008844e64
Signed-off-by: Chris Dearman <[email protected]>
Change-Id: I5f18ccb0912b9bb89c9f5104f9505c610c109af8
Adds Lab126's USB id to the known USB Devices

Change-Id: I3cd5d90bba68123d5d3d2d67e1ab7d60137eb388
Signed-off-by: Jon Sawyer <[email protected]>
Change-Id: Ic13d66797a86d38432e79af0c3387ce986d0a19f
This change brings init's do_chmod, mkdir, and do_chown into line
with open's O_NOFOLLOW semantics, causing them to fail when the
last element of their target path is a symlink.

Change-Id: If00e1a25cfe17ef6f738af4bf0541abd0c1b084b
Change-Id: I570b631ced11ab104aafe7ebfe71bae4e380d8af
Return failure and set errno if mSocket isn't valid.

Change-Id: I579114d435db46d0bb5682167ef34bebe061a8f8
Change-Id: I8093a9c265bdc2331235baa2c0294031b1b9c06b
Fix aliasing violtations that caused a need for the
code to be compiled with -fno-strict-aliasing

Signed-off-by: Bernhard Rosenkraenzer <[email protected]>

libnetutils: Fix aliasing violations

This allows us to build it with more compiler optimizations

Signed-off-by: Bernhard Rosenkraenzer <[email protected]>

libcutils: Fix aliasing violation

Signed-off-by: Bernhard Rosenkraenzer <[email protected]>

core: Fix build in ISO C++11 mode

Fix compatibility with ISO C++11 compilers

Signed-off-by: Bernhard Rosenkraenzer <[email protected]>
Change-Id: I8f9aa775b5681d4d8c5202a1a1935acb4efa4171

adb: Don't force -O2

Don't force -O2 over -O3 -- the O2 hardcode is there to force
optimizations, not to reduce them...

Change-Id: Ic75eeb767db4926f519580fba8f5f7b8e593df4f
Signed-off-by: Bernhard Rosenkraenzer <[email protected]>
Replace "-" with "_" in module name. This would keep
rmmod compatible with module-init-tools version of rmmod

Change-Id: I4470d9a98bc2f299acd94859fca4403aee279d2b
Signed-off-by: Vishal Bhoj <[email protected]>
Using open() with an O_NOFOLLOW flag will result in a file falsely
being determined to be a symlink if the open fails for another
reason.

For example, a character device that isn't ready due to the
underlying hardware not being initialized yet will fail to open()

An example of this are any CG2900 device files prior to
execution of ste-cg29xx_ctrl

This uses lstat() instead of open() with O_NOFOLLOW to check
whether a file is a symlink or not.

Change-Id: Ie0d8d94b426c84c29b1b04d41a4cc15536cb307c
… will also search the first 512 bytes for padding.

Change-Id: I490cba05f2bb616a3f64e3271ecaa61eb9e64be8
…all on a 8 byte boundary.

Change-Id: I57471f9c2117cd7965b6958ea0aa88e356436da6
Change-Id: I68470b637556a08e48ff72b7ef8811cba13b04ad
Change-Id: I95a33f7b40470e4500d418d863a65a75e7aa8499
Change-Id: I45faddbae85273c79b2837f97933634b6e70546f
The T3 ALSA libraries "communicate" with eachother through
properties... :|

Change-Id: Ia35e0939ff672bdc43736a052fddc636c2aa9350
Instead of every so often adding a new set of stuff here for a specific
device, let the device includes overload the property arrays. The
new device_perms.h header documents it

Change-Id: I477e27abebeb4b85abe5fcaf19333999b1625417
Change-Id: I6ea20787b24fa3d271fe3ae1fce9551ee9ed4c57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.